package com.lzq.springblog.model;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Component
public class PageResult<T> {
    private Integer total;
    private List<T> records;
    private PageRequest pageRequest;
}
